<?php

namespace App\Http\Controllers\Home;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Admin\Nation;

class NationController extends Controller
{
    public function index(){
        $data = Nation::where('isdel','2')->get();   
        $data->toArray();       //国际结算
        foreach ($data as $key => $value) {
            $value['formula'] = explode(',',$value['formula']);
        }
        
        return view('home.nation.index',compact('data'));   
    }

}

